Added a note about merge mode

Chris Eidhof 10 years ago
parent
commit
37104e4a6b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/models/agents/website_agent.rb

+ 1 - 1
app/models/agents/website_agent.rb

@@ -74,7 +74,7 @@ module Agents
74 74
 
75 75
       The `headers` field is optional.  When present, it should be a hash of headers to send with the request.
76 76
 
77
-      The WebsiteAgent can also scrape based on incoming events. It will scrape the url contained in the `url` key of the incoming event payload.
77
+      The WebsiteAgent can also scrape based on incoming events. It will scrape the url contained in the `url` key of the incoming event payload. If you specify `merge` as the mode, it will retain the old payload and update it with the new values.
78 78
 
79 79
       In Liquid templating, the following variable is available:
80 80